package cn.xiangxiang.controller.task;

import cn.xiangxiang.service.order.OrderConfigService;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class OrderTask {

    @Reference
    private OrderConfigService orderConfigService;

    /*@Scheduled(cron = "0 * * * * ?")
    public void closeOrderOutTime(){
        orderConfigService.closeTimeoutOrder();
    }*/
}
